<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Calculates any one parameter of the beta distribution given values for the others</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.stats-cdf-beta" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">stats_cdf_beta</h1>
  <p class="verinfo">(PECL stats &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_cdf_beta</span> &mdash; <span class="dc-title">Calculates any one parameter of the beta distribution given values for the others</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.stats-cdf-beta-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>stats_cdf_beta</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$par1</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$par2</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$par3</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$which</code></span>
   ) : <span class="type">float</span></div>

  <p class="para rdfs-comment">
   Returns the cumulative distribution function, its inverse, or one of its parameters,
   of the beta distribution. The kind of the return value and parameters (<code class="parameter">par1</code>,
   <code class="parameter">par2</code>, and <code class="parameter">par3</code>) are determined by
   <code class="parameter">which</code>.
  </p>
  <p class="para">
   The following table lists the return value and parameters by <code class="parameter">which</code>.
   CDF, x, alpha, and beta denotes cumurative distribution function, the value of the random
   variable, and shape parameters of the beta distribution, respectively.
   <table class="doctable table">
    <caption><strong>Return value and parameters</strong></caption>
    
     <thead>
      <tr>
       <th><code class="parameter">which</code></th>
       <th>Return value</th>
       <th><code class="parameter">par1</code></th>
       <th><code class="parameter">par2</code></th>
       <th><code class="parameter">par3</code></th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>1</td>
       <td>CDF</td>
       <td>x</td>
       <td>alpha</td>
       <td>beta</td>
      </tr>

      <tr>
       <td>2</td>
       <td>x</td>
       <td>CDF</td>
       <td>alpha</td>
       <td>beta</td>
      </tr>

      <tr>
       <td>3</td>
       <td>alpha</td>
       <td>x</td>
       <td>CDF</td>
       <td>beta</td>
      </tr>

      <tr>
       <td>4</td>
       <td>beta</td>
       <td>x</td>
       <td>CDF</td>
       <td>alpha</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.stats-cdf-beta-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">par1</code></dt>

     <dd>

      <p class="para">
       The first parameter
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">par2</code></dt>

     <dd>

      <p class="para">
       The second parameter
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">par3</code></dt>

     <dd>

      <p class="para">
       The third parameter
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">which</code></dt>

     <dd>

      <p class="para">
       The flag to determine what to be calculated
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stats-cdf-beta-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns CDF, x, alpha, or beta, determined by <code class="parameter">which</code>.
  </p>
 </div>


 


 


 


 


</div></div></div></body></html>